//
//  PlistHelper.m
//  
//
//  Created by Lawrence on 15/9/23.
//
//

#import "PlistHelper.h"

@implementation PlistHelper
+(NSDictionary *)GetCityInfoCode{
    PlistHelper *helper=[[PlistHelper alloc] init];
    return [helper loadCityInfo];
}
#pragma mark 读取城市地区天气码－－－－plist 文件
-(NSDictionary *) loadCityInfo{
    NSBundle *bundle=[NSBundle mainBundle];
    //懒加载获取plist文件的路径
    NSString *path=[bundle pathForResource:@"Area" ofType:@"plist"];
    NSDictionary *dict=[[NSDictionary alloc] initWithContentsOfFile:path];
    return  dict;
}
@end
